package com.luckyframe.project.jmeter.jmeterJarMgt.domain;

import com.luckyframe.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;
import java.util.List;

/**
 * jmx脚本依赖jar包管理表 jmeter_jar_mgt
 * 
 * @author lancelot
 * @date 2020-09-28
 */
public class JmeterJarMgt extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** id */
	private Integer id;
	/** jar包名称（包含版本） */
	private String name;
	/** 路径 */
	private String location;
	/** 是否是全局 1是 0否 默认1 */
	private Integer global;
	/** 关联的test_case的id (非全局的时候则和testcase关联) */
	private Long relCaseId;

	private String relCaseName;
	/** 修改时间 */
	private Date modifyTime;
	/** 创建者 */
	private String createBy;
	/** 创建时间 */
	private Date createTime;
	/** 更新者 */
	private String updateBy;
	/** 修改时间 */
	private Date updateTime;
	/** 备注 */
	private String remark;

	private List<Long> relCaseIdList;

	private String caseNames;

	public String getCaseNames() {
		return caseNames;
	}

	public void setCaseNames(String caseNames) {
		this.caseNames = caseNames;
	}

	public List<Long> getRelCaseIdList() {
		return relCaseIdList;
	}

	public void setRelCaseIdList(List<Long> relCaseIdList) {
		this.relCaseIdList = relCaseIdList;
	}

	public String getRelCaseName() {
		return relCaseName;
	}

	public void setRelCaseName(String relCaseName) {
		this.relCaseName = relCaseName;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setLocation(String location) 
	{
		this.location = location;
	}

	public String getLocation() 
	{
		return location;
	}
	public void setGlobal(Integer global) 
	{
		this.global = global;
	}

	public Integer getGlobal() 
	{
		return global;
	}
	public void setRelCaseId(Long relCaseId) 
	{
		this.relCaseId = relCaseId;
	}

	public Long getRelCaseId() 
	{
		return relCaseId;
	}
	public void setModifyTime(Date modifyTime) 
	{
		this.modifyTime = modifyTime;
	}

	public Date getModifyTime() 
	{
		return modifyTime;
	}
	public void setCreateBy(String createBy) 
	{
		this.createBy = createBy;
	}

	public String getCreateBy() 
	{
		return createBy;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}
	public void setUpdateBy(String updateBy) 
	{
		this.updateBy = updateBy;
	}

	public String getUpdateBy() 
	{
		return updateBy;
	}
	public void setUpdateTime(Date updateTime) 
	{
		this.updateTime = updateTime;
	}

	public Date getUpdateTime() 
	{
		return updateTime;
	}
	public void setRemark(String remark) 
	{
		this.remark = remark;
	}

	public String getRemark() 
	{
		return remark;
	}

    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("location", getLocation())
            .append("global", getGlobal())
            .append("relCaseId", getRelCaseId())
            .append("modifyTime", getModifyTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
